const { defineConfig } = require("@vue/cli-service");

module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    port: 8002, // 服务器端口8002
    open: true // 启动后自动打开浏览器
  },
  css: {
    loaderOptions: {
      scss: {
        //  全局scss文件
        additionalData: `
          @import "@/styles/variables.scss";
          @import "@/styles/style.scss";
        `
      }
    }
  }
});
